projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
760b540
)
x11: More fake tablet blacklisting
author
Matthias Clasen
<mclasen@redhat.com>
Thu, 25 Feb 2016 02:59:44 +0000
(21:59 -0500)
committer
Matthias Clasen
<mclasen@redhat.com>
Thu, 25 Feb 2016 03:22:11 +0000
(22:22 -0500)
Sigh.
Now that we've neutered the QEMU USB tablet, I'm finding that
spice is doing just the same nonsense. It has a fake "spice vdagent
tablet". Blacklist that as well.
gdk/x11/gdkdevicemanager-xi2.c
patch
|
blob
|
history
diff --git
a/gdk/x11/gdkdevicemanager-xi2.c
b/gdk/x11/gdkdevicemanager-xi2.c
index 237bcb2cc6f72cabdde419086c9b71e22aeb1915..a667c49da7bb3b45d18dab5cc4fcdad0f5c94f36 100644
(file)
--- a/
gdk/x11/gdkdevicemanager-xi2.c
+++ b/
gdk/x11/gdkdevicemanager-xi2.c
@@
-430,6
+430,7
@@
create_device (GdkDeviceManager *device_manager,
else if (!strstr (tmp_name, "mouse") &&
!strstr (tmp_name, "pointer") &&
!strstr (tmp_name, "qemu usb tablet") &&
+ !strstr (tmp_name, "spice vdagent tablet") &&
has_abs_axes (display, dev->classes, dev->num_classes))
input_source = GDK_SOURCE_TOUCHSCREEN;
else